package com.mes.service.hy;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.mes.dao.hy.WorkMapper;
import com.mes.entity.hy.Work;
import com.mes.entity.hy.Work1;

/**
 * 
 * @ClassName:WorkServiceImpl
 * @Description: 品质service实现层
 * @Author hy
 * @Date 2018-5-30上午11:02:35
 * @version 1.0
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class WorkServiceImpl implements IWorkService {
	
	@Resource
	private WorkMapper workMapper;

	@Override
	public Work1 selectWork(Work work) {
		return workMapper.selectWork(work);
	}

	@Override
	public Work1 selectNGood(Work work) {
		return workMapper.selectNGood(work);
	}

	@Override
	public Work1 selectWorkr(Work work) {
		return workMapper.selectWorkr(work);
	}

}
